package com.ruoyi.system.service;

import com.ruoyi.system.domain.Inventory;
import com.ruoyi.system.domain.MaterialSix;
import com.ruoyi.system.domain.MaterialTwo;
import com.ruoyi.system.domain.PickCondition;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface IWarehouseDetailService {
    /**
     * 查询仓库材料明细记录
     *
     * @param
     * @return 材料集合
     */
    public List<MaterialSix> selectMaterialList(PickCondition pickCondition, Integer wid, Integer mid); /**
     * 查询仓库材料明细记录
     *
     * @param
     * @return 材料集合
     */
    public List<MaterialTwo> selectMaterialRecordList(PickCondition pickCondition, Integer wid, Integer mid);

    //更新盘点
    boolean updateInventory(Inventory inventory);
    //删除明细
    int deleteMateriaDetaill(Long mdId);

    int updateWarehouseMateriaDetail(MaterialSix materialSix);
    List<Map> queryMaterial(@Param("type") int type,
                            @Param("mName")String mName,
                            @Param("mModel")String mModel,
                            @Param("mUnit")String mUnit,
                            @Param("proNumber")String proNumber,
                            @Param("proName")String proName,
                            @Param("wName")String wName);

}
